package test;

import org.springframework.stereotype.Component;

@Component("truckCar")
public class Truck implements Car{
    @Override
    public void drive() {
        System.out.println("开货车拉货去！");
    }
}
